package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;

import java.io.Serializable;

/**
 * <desc>
 *      用户实体类。
 * </desc>
 *
 * @createDate 2017/08/29
 */
@ItlTables("person")
public class PersonPO implements Serializable {

    @ItlField("id")
    private int id;             //主键
    @ItlField("user_name")
    private String user_name;  //用户名称



    public void setId(int id) {
        this.id = id;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public int getId() {
        return id;
    }

    public String getUser_name() {
        return user_name;
    }

    public PersonPO(String user_name) {
        this.user_name = user_name;
    }

    public PersonPO() {
    }

    public PersonPO(int id, String user_name) {
        this.id = id;
        this.user_name = user_name;
    }
}
